//
//  Theme.swift
//  CosClub
//
//  Created by 沙睿 on 2020/2/2.
//  Copyright © 2020 ios. All rights reserved.
//

import Foundation
import UIKit

public enum FontType {
    case nomal
    case bold
    case number
}

public enum UISpecification :CGFloat{
    case itemHeight = 52.0
    case marginHor = 16
}

extension UIColor {
    
    public class var random: UIColor {
        get {
            let red = CGFloat(arc4random()%256)/255.0
            let green = CGFloat(arc4random()%256)/255.0
            let blue = CGFloat(arc4random()%256)/255.0
            return UIColor(red: red, green: green, blue: blue, alpha: 1.0)
        }
    }
    
    public enum app {
        
        public static let bg_D0 = "0D0D0D".color()
        public static let bg_1A = "1A1A1A".color()
        public static let white = "FFFFFF".color()
        
        public static let black = UIColor.black
        /// FFE819 主色调
        public static let c1 = "FFE819".color()
        /// 000000 C2a主要用于文字、图标、背景、图形元素用色
        public static let c2a = "000000".color()
        ///457AE6 C2b 主要用于文字链接色
        public static let c2b = "457AE6".color()
        ///0ACC8C C2c 主要用于成功、在线等
        public static let c2c = "0ACC8C".color()
        /// E62E37 C2d 主要用于警示色、强提示色等
        public static let c2d = "E62E37".color()
        /// 262626 C3a ~ C3b 主要用于字体颜色、图标配色等
        public static let c3a = "262626".color()
        /// 8C8C8C C3a ~ C3b 主要用于字体颜色、图标配色等
        public static let c3b = "8C8C8C".color()
        /// D9D9D9 C3c 主要用于按钮禁用状态、文本输入类间隔线颜色等
        public static let c3c = "D9D9D9".color()
        /// EBEBEB C3d 主要用于间隔线(白色背景为基础)
        public static let c3d = "E8E8E8".color()
        /// F7F7F7 C3e 主要用于背景颜色
        public static let c3e = "F7F7F7".color()
        /// 333333
        public static let z33 = "333333".color()
        public static let z59 = "595959".color()
        
    }
}


